package com.tongqin.distributed;

/**
 * @author yuantongqin
 * @date 2018/7/9 下午3:45
 */
public class RpcClient {

    public static void main(String[] args) {

        IHelloService helloService = new RpcClientProxy().createObject(IHelloService.class,"localhost",8888);

        System.out.println( helloService.sayHello("change"));

    }
}
